package com.example.Mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.Map;

@Mapper
public interface JudgeMapper {
    /*
     * 获取该题的测评函数和数据
     */
    @Select("select A.input,A.result,B.* FROM Oj_Qution as A INNER JOIN oj_JudgeHead AS B ON A.jid=B.id where A.id=#{qid}")
    public Map<String,Object> GetQResult(int qid);




}
